package cn.tedu.order.management.dao.persist.repository.impl;

import cn.tedu.order.management.dao.persist.mapper.GoodsMapper;
import cn.tedu.order.management.dao.persist.repository.IGoodsRepository;
import cn.tedu.order.management.pojo.vo.GoodsStandardVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;


@Repository
public class GoodsRepositoryImpl implements IGoodsRepository {

    @Autowired
    private GoodsMapper goodsMapper;

    @Override
    public GoodsStandardVO getStandardById(Long id) {
        return goodsMapper.getStandardById(id);

    }
}
